CVE-2026-4480
Samba: samba: remote code execution in printing subsystem via unescaped job description
Description
A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J" substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.
INFO
Published Date :
May 26, 2026, 3:16 p.m.
Last Modified :
June 15, 2026, 10:16 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-4480
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update Samba to the latest version.
- Configure the 'print command' setting carefully.
- Avoid using user-supplied data in commands.
- Validate all user inputs.
Public PoC/Exploit Available at Github
CVE-2026-4480 has a 8 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-4480.
| URL | Resource |
|---|---|
| https://access.redhat.com/errata/RHSA-2026:22644 | |
| https://access.redhat.com/errata/RHSA-2026:22963 | |
| https://access.redhat.com/errata/RHSA-2026:25049 | |
| https://access.redhat.com/errata/RHSA-2026:25979 | |
| https://access.redhat.com/security/cve/CVE-2026-4480 | Mitigation Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2452232 | Issue Tracking Third Party Advisory |
| https://bugzilla.samba.org/show_bug.cgi?id=16033 | Issue Tracking Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-4480 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-4480
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
This is an exploit poc for CVE-2026-4480
Python
smb spooler to RCE
Python
HTB-Abducted-writeup
CVE-2026-4480
Python
Exploit CVE-2026-4480
Python
None
Python
DSA and DLA for Debian last 14 days
Python
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-4480 vulnerability anywhere in the article.
-
CybersecurityNews
Critical Samba Vulnerability Enables Remote Code Execution Attacks
A critical vulnerability in the Samba printing subsystem, tracked as CVE-2026-4480, has been disclosed, allowing unauthenticated attackers to achieve remote code execution (RCE) on affected systems. T ... Read more
The following table lists the changes that have been made to the
CVE-2026-4480 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jun. 15, 2026
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2026:25979 -
CVE Modified by [email protected]
Jun. 10, 2026
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2026:25049 -
CVE Modified by [email protected]
Jun. 04, 2026
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2026:22963 -
CVE Modified by [email protected]
Jun. 03, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H Removed CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H -
CVE Modified by [email protected]
Jun. 03, 2026
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2026:22644 -
Initial Analysis by [email protected]
Jun. 01, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* versions from (including) 4.1.0 up to (excluding) 4.2.1 Added Reference Type Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2026-4480 Types: Mitigation, Third Party Advisory Added Reference Type Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2452232 Types: Issue Tracking, Third Party Advisory Added Reference Type Red Hat, Inc.: https://bugzilla.samba.org/show_bug.cgi?id=16033 Types: Issue Tracking, Vendor Advisory -
New CVE Received by [email protected]
May. 26, 2026
Action Type Old Value New Value Added Description A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J" substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system. Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-78 Added Reference https://access.redhat.com/security/cve/CVE-2026-4480 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2452232 Added Reference https://bugzilla.samba.org/show_bug.cgi?id=16033